package cn.fz.luck.saas.model;

import javax.persistence.*;

@Table(name = "sys_permission")
public class SysPermission {
    @Id
    @Column(name = "PERMISSION_ID")
    private String permissionId;

    @Column(name = "PERMISSON_NAME")
    private String permissonName;

    @Column(name = "URL")
    private String url;

    @Column(name = "METHOD")
    private String method;

    /**
     * @return PERMISSION_ID
     */
    public String getPermissionId() {
        return permissionId;
    }

    /**
     * @param permissionId
     */
    public void setPermissionId(String permissionId) {
        this.permissionId = permissionId;
    }

    /**
     * @return PERMISSON_NAME
     */
    public String getPermissonName() {
        return permissonName;
    }

    /**
     * @param permissonName
     */
    public void setPermissonName(String permissonName) {
        this.permissonName = permissonName;
    }

    /**
     * @return URL
     */
    public String getUrl() {
        return url;
    }

    /**
     * @param url
     */
    public void setUrl(String url) {
        this.url = url;
    }

    /**
     * @return METHOD
     */
    public String getMethod() {
        return method;
    }

    /**
     * @param method
     */
    public void setMethod(String method) {
        this.method = method;
    }
}